package com.nice;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
public class Config {
    @Value("${spring.price.appkey}")
    private String appkey;
    @Value("${spring.price.sign}")
    private String sign;

    @Value("${spring.cache.td.refresh.time}")
    private  long ag_refresh;
    @Value("${spring.cache.cny.refresh.time}")
    private long  cny_refresh;

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public long getAg_refresh() {
        return ag_refresh;
    }

    public void setAg_refresh(long ag_refresh) {
        this.ag_refresh = ag_refresh;
    }

    public long getCny_refresh() {
        return cny_refresh;
    }

    public void setCny_refresh(long cny_refresh) {
        this.cny_refresh = cny_refresh;
    }
}
